function hideBetween (theText, altText, startAt, stopAt) { var now = new Date(); var h = now.getHours(); if (startAt <= stopAt) { if ( h >= startAt & h <= stopAt) return(altText) else return (theText); } return ('** ERROR in JavaScript hideBetween **'); }